package com.example.elderlycare.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.util.Date;

@Data
@Builder
@TableName("users")
public class User {
    private Integer id;
    private Date deletedAt;

    private String username;
    private String nickname;
    private String password;
    private Integer sex;
    private String number;
    private String phone;
    @TableField("role_id")
    private Integer roleID;
    private String vxId;

    @Tolerate
    User() {
    }
}
